#pragma once

#include <stddef.h>
#include <stdbool.h>

/**
 * Allocates memory used by the mgen heap.
 */
void *
mgen_allocate(size_t requested, size_t * allocated, bool is_executable);

/**
 * Frees memory allocated by mgen_allocate.
 */
void
mgen_free(void * ptr, size_t size);

